<!doctype html>
<!-- paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/ -->
<!--[if lt IE 7 ]> <html lang="en" class="no-js ie6"> <![endif]-->
<!--[if IE 7 ]> <html lang="en" class="no-js ie7"> <![endif]-->
<!--[if IE 8 ]> <html lang="en" class="no-js ie8"> <![endif]-->
<!--[if IE 9 ]> <html lang="en" class="no-js ie9"> <![endif]-->
<!--[if (gt IE 9)|!(IE)]><!--> <html lang="{{language}}" class="no-js"> <!--<![endif]-->
<head>
<meta charset="{{charset}}">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>{{title}}</title>
<meta name="description" content="{{description}}">
<meta name="author" content="Kohana Framework">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="shortcut icon" href="{{base_url}}favicon.ico">
<link rel="apple-touch-icon" href="{{base_url}}apple-touch-icon.png">
<link rel="stylesheet" href="{{base_url}}assets/css/style.css?v=1.1">
<link rel="stylesheet" href="{{base_url}}assets/css/responsive.css?v=1.0">
<!-- All JavaScript at the bottom, except for Modernizr which enables HTML5 elements & feature detects -->
<script src="{{base_url}}assets/js/lib/modernizr-2.0.6.js"></script>
</head>

<body>

<div class="wrapper">

	<header>
		{{>header}}
	</header>

	{{#banner_exists}}
	<section id="banner">
		{{>banner}}
	</section> <!-- END section#banner -->
	{{/banner_exists}}

	<div class="notices">
		{{>notices}}
	</div>

	<div class="container">

		{{>content}}

		<footer class="inset">
			{{>footer}}
		</footer>

	</div> <!-- END div.container -->

	<div id="pagodabox">
		<a href="http://www.pagodabox.com">Powered by Pagoda Box, PHP as a Service</a>
	</div>

</div>  <!-- END div.wrapper -->

<!-- Javascript at the bottom for fast page loading -->
<!-- Grab Google CDN's jQuery. fall back to local if necessary -->
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script>
<script>!window.jQuery && document.write(unescape('%3Cscript src="js/lib/jquery-1.6.2.js"%3E%3C/script%3E'))</script>

<script src="{{base_url}}assets/js/lib/slides.js"></script>
<script src="{{base_url}}assets/js/global.js"></script>
<script src="{{base_url}}assets/js/gallery.js"></script>

<!--[if lt IE 7 ]>
<script src="{{base_url}}assets/js/lib/dd_belatedpng.js"></script>
<script> DD_belatedPNG.fix('img, .png_bg'); //fix any <img> or .png_bg background-images </script>
<![endif]-->

{{#stats}}
<!-- Google Analytics -->
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try {
	var pageTracker = _gat._getTracker("UA-16034102-1");
	pageTracker._setDomainName(".kohanaframework.org");
	pageTracker._trackPageview();
} catch(err) {}
</script>
{{/stats}}
</body>
</html>
